#	$OpenBSD: RAMDISK,v 1.53 2015/07/17 22:52:29 tedu Exp $

machine		zaurus arm
maxusers	4

option		TIMEZONE=0
option		DST=0
option		SMALL_KERNEL
option		NO_PROPOLICE
option		BOOT_CONFIG

option		MINIROOTSIZE=5120
option		RAMDISK_HOOKS

option		FFS
option		CD9660
option		MSDOSFS
option		INET6
option		EXT2FS
option		CRYPTO

option		ARM32
option		PXAGPIO_HAS_GPION_INTRS

makeoptions	KERNEL_BASE_PHYS="0xa0200000"
makeoptions	KERNEL_BASE_VIRT="0xc0200000"

option		CPU_XSCALE_PXA2X0
#option		XSCALE_CACHE_WRITE_THROUGH
option		XSCALE_CACHE_WRITE_BACK
makeoptions	CPUFLAGS="-mcpu=xscale"

config		bsd root on rd0a swap on rd0b

mainbus0	at root
cpu0		at mainbus?
pxaip0		at mainbus?
pxaintc0	at pxaip?		# interrupt controller
pxagpio0	at pxaip?
scoop0		at pxaip?
scoop1		at pxaip?
pxaost0		at pxaip? addr 0x40a00000 size 0x20

lcd0		at pxaip?
wsdisplay*	at lcd? console ?
zssp0		at pxaip?		# ADC, touch screen, backlight
zts0		at pxaip?		# touch screen
wsmouse*	at zts? mux 0
zkbd0		at pxaip?
wskbd*		at zkbd? mux 1
pxaudc0		at pxaip?		# USB Device Controller

ohci0		at pxaip?
usbf*		at pxaudc?		# USB logical device
cdcef*		at usbf?		# CDC ethernet function
usb*		at ohci?

uhub*		at usb?
uhub*		at uhub?
uhidev*		at uhub?
uhid*		at uhidev?		# USB Generic HID devices
ukbd*		at uhidev?		# USB HID Keyboard devices
wskbd*		at ukbd? mux 1
aue*		at uhub?		# ADMtek AN986 Pegasus Ethernet
axe*		at uhub?		# ASIX Electronics AX88172 USB Ethernet
axen*		at uhub?		# ASIX Electronics AX88179 USB Ethernet
cdce*		at uhub?		# CDC Ethernet
cue*		at uhub?		# CATC USB-EL1201A based Ethernet
kue*		at uhub?		# Kawasaki KL5KUSB101B based Ethernet
smsc*		at uhub?		# SMSC LAN95xx Ethernet
udav*		at uhub?		# Davicom DM9601 based Ethernet
ural*		at uhub?		# Ralink RT2500
url*		at uhub?		# Realtek RTL8150L based adapters
wi*		at uhub?		# WaveLAN IEEE 802.11DS
upl*		at uhub?		# Prolific PL2301/PL2302 host-to-host
ugl*		at uhub?		# Genesys Logic GL620USB-A host-to-host
umass*		at uhub?

pxammc0		at pxaip?		# MMC/SD/SDIO controller
sdmmc*		at pxammc?		# SD/MMC bus
softraid0	at root

scsibus*	at scsi?
sd*		at scsibus?
cd*		at scsibus?

option		COM_PXA2X0
com0		at pxaip? addr 0x40100000 intr 22	# Full Function UART
com1		at pxaip? addr 0x40200000 intr 21	# BlueTooth UART
com2		at pxaip? addr 0x40700000 intr 20	# Standard UART (for IrDA)

pxapcic0	at pxaip?
pcmcia*		at pxapcic?
wi*		at pcmcia?
ne*		at pcmcia?
wdc*		at pcmcia?
wd*		at wdc? flags 0x0000

exphy*		at mii?			# 3Com internal PHYs
inphy*		at mii?			# Intel 82555 PHYs
iophy*		at mii?			# Intel 82553 PHYs
icsphy*		at mii?			# ICS 1890 PHYs
lxtphy*		at mii?			# Level1 LXT970 PHYs
nsphy*		at mii?			# NS and compatible PHYs
nsphyter*	at mii?			# NS and compatible PHYs
qsphy*		at mii?			# Quality Semi QS6612 PHYs
sqphy*		at mii?			# Seeq 8x220 PHYs
rlphy*		at mii?			# Realtek 8139 internal PHYs
mtdphy*		at mii?			# Myson MTD972 PHYs
acphy*		at mii?			# Altima AC101 PHYs
amphy*		at mii?			# AMD 79C873 PHYs
tqphy*		at mii?			# TDK 78Q212x PHYs
bmtphy*		at mii?			# Broadcom 10/100 PHYs
eephy*		at mii?			# Marvell 88E1000 series PHY
nsgphy*		at mii?			# NS gigabit PHYs
urlphy*		at mii?			# Realtek RTL8150L internal PHY
rgephy*		at mii?			# Realtek 8169S/8110S PHY
ukphy*		at mii?			# "unknown" PHYs

apm0		at pxaip?		# APM emulation

pseudo-device	wsmux 2
pseudo-device	loop 1
pseudo-device	bpfilter 1
pseudo-device	rd 1
pseudo-device	bio 1
